package com.dhn.entity;

public class Department {
    private Integer id;
    private String name;
    private String created_time;
    private String updated_time;
    private Integer page=1;
    private Integer limit=5;

    @Override
    public String toString() {
        return "Department{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", created_time='" + created_time + '\'' +
                ", updated_time='" + updated_time + '\'' +
                ", page=" + page +
                ", limit=" + limit +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCreated_time() {
        return created_time;
    }

    public void setCreated_time(String created_time) {
        this.created_time = created_time;
    }

    public String getUpdated_time() {
        return updated_time;
    }

    public void setUpdated_time(String updated_time) {
        this.updated_time = updated_time;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Department() {
    }

    public Department(Integer id, String name, String created_time, String updated_time, Integer page, Integer limit) {
        this.id = id;
        this.name = name;
        this.created_time = created_time;
        this.updated_time = updated_time;
        this.page = page;
        this.limit = limit;
    }
}
